< previous page page_419 next page >

Page 419
Chapter 13
Three-Dimensional Transformations
This chapter explains the basics of three-dimensional transformations. Most three-dimensional transformations are analogous to the two-dimensional transformations described in Chapter 12, Two-Dimensional Transformations. In fact, many three-dimensional transformations are simply special uses of two-dimensional transformations that ignore the third dimension.
Using homogeneous coordinates and a matrix representation similar to the one used in two-dimensions, this chapter explains how to perform translation, scaling, reflection, and rotation in three dimensions. It also describes matrices that represent projections, transformations that let you view three-dimensional objects on a two-dimensional computer screen. As is the case in two dimensions, you can combine three-dimensional transformation matrices to represent complex transformations with a single matrix.
The chapter finishes by explaining how you can use Visual Basic classes to model three-dimensional objects. These classes let you create and manipulate objects with relative ease.
Simple Transformations
The most general transformations possible in three dimensions are quite complicated. As is the case in two dimensions, however, you can build the most useful of these with combinations of simple translation, scaling, rotation, and projection. The following sections describe these fundamental transformations. Once you understand how to use the simpler transformations in three dimensions, you can compose them to create more general ones.

 
< previous page page_419 next page >